-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MWPW-158053: CCD Slice Card [Merch card] #2878
Conversation
- move from merch-card.js code each layout code related to a given variant under variants/<variant> class - move from global.css.js css related to a given variant under variants/<variant>.css.js - move from merch-card.css.js wc css related to a given variant under variants/<variant>.variantStyle - uses variants/variants as an index to get related class from related variant, and wc style too, - uses variants/VariantLayout, superclass of all variants, to insert css if card is used, and hold common code
to something independent of the layout (not initialized when used at first in collections)
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## stage #2878 +/- ##
========================================
Coverage 96.29% 96.29%
========================================
Files 240 242 +2
Lines 54739 54850 +111
========================================
+ Hits 52709 52818 +109
- Misses 2030 2032 +2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.
This pull request is not passing all required checks. Please see this discussion for information on how to get all checks passing. Inconsistent checks can be manually retried. If a test absolutely can not pass for a good reason, please add a comment with an explanation to the PR. |
Hi @Axelcureno, just a suggestion, but if we wait for #2894 we can add a test page showcasing the CCD cards you've implemented |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we might not need the images for unit tests, as discussed before with Milo core team.
rest looks good to me.
p.s. for PSI check - we can create a test page with odin resources, once #2894 is ready
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @Axelcureno, looks great :)
@Axelcureno Price element is not wrapped to previous line |
Fixed in b174f0d |
@Axelcureno Can you plz fix the failure at https://github.com/adobecom/milo/pull/2878/checks?check_run_id=30558428790 |
renderLayout() { | ||
return html` <div class="content"> | ||
<slot name="icons"></slot> ${this.badge} | ||
<slot name="body-s"></slot> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: this should be body-xs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or merch-datasource that should be body-s
too :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have fixed in merch-datasource, thank you.
please fix my last comment on description typo https://github.com/adobecom/milo/pull/2878/files#r1773166090 |
Skipped 2878: "MWPW-158053: CCD Slice Card [Merch card]" due to file "libs/features/mas/web-components/src/merch-datasource.js" overlap. Merging will be attempted in the next batch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.
Introduces Creative Cloud Desktop 'Slice' Card to the list of web components as part of M@S v2 initiative.
LTR:

RTL:

Notes:
npm run test
from web-components folder and select debug, then select the optiontest/merch-card.ccd-slice.test.html
to see the 2 options (standard size and wide)Resolves: MWPW-158053
Test URLs: